package com.ruoyi.match.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ChMarketExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public ChMarketExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Time> timeList = new ArrayList<java.sql.Time>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                timeList.add(new java.sql.Time(iter.next().getTime()));
            }
            addCriterion(condition, timeList, property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value1.getTime()), new java.sql.Time(value2.getTime()), property);
        }

        public Criteria andGidIsNull() {
            addCriterion("gid is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("gid is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(String value) {
            addCriterion("gid =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(String value) {
            addCriterion("gid <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(String value) {
            addCriterion("gid >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(String value) {
            addCriterion("gid >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(String value) {
            addCriterion("gid <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(String value) {
            addCriterion("gid <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLike(String value) {
            addCriterion("gid like", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotLike(String value) {
            addCriterion("gid not like", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<String> values) {
            addCriterion("gid in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<String> values) {
            addCriterion("gid not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(String value1, String value2) {
            addCriterion("gid between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(String value1, String value2) {
            addCriterion("gid not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("`name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("`name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("`name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("`name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("`name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("`name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("`name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("`name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("`name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("`name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("`name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("`name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("`name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("`name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andBuyFiveIsNull() {
            addCriterion("buy_five is null");
            return (Criteria) this;
        }

        public Criteria andBuyFiveIsNotNull() {
            addCriterion("buy_five is not null");
            return (Criteria) this;
        }

        public Criteria andBuyFiveEqualTo(String value) {
            addCriterion("buy_five =", value, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveNotEqualTo(String value) {
            addCriterion("buy_five <>", value, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveGreaterThan(String value) {
            addCriterion("buy_five >", value, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveGreaterThanOrEqualTo(String value) {
            addCriterion("buy_five >=", value, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveLessThan(String value) {
            addCriterion("buy_five <", value, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveLessThanOrEqualTo(String value) {
            addCriterion("buy_five <=", value, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveLike(String value) {
            addCriterion("buy_five like", value, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveNotLike(String value) {
            addCriterion("buy_five not like", value, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveIn(List<String> values) {
            addCriterion("buy_five in", values, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveNotIn(List<String> values) {
            addCriterion("buy_five not in", values, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveBetween(String value1, String value2) {
            addCriterion("buy_five between", value1, value2, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFiveNotBetween(String value1, String value2) {
            addCriterion("buy_five not between", value1, value2, "buyFive");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriIsNull() {
            addCriterion("buy_five_pri is null");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriIsNotNull() {
            addCriterion("buy_five_pri is not null");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriEqualTo(BigDecimal value) {
            addCriterion("buy_five_pri =", value, "buyFivePri");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriNotEqualTo(BigDecimal value) {
            addCriterion("buy_five_pri <>", value, "buyFivePri");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriGreaterThan(BigDecimal value) {
            addCriterion("buy_five_pri >", value, "buyFivePri");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_five_pri >=", value, "buyFivePri");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriLessThan(BigDecimal value) {
            addCriterion("buy_five_pri <", value, "buyFivePri");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_five_pri <=", value, "buyFivePri");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriIn(List<BigDecimal> values) {
            addCriterion("buy_five_pri in", values, "buyFivePri");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriNotIn(List<BigDecimal> values) {
            addCriterion("buy_five_pri not in", values, "buyFivePri");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_five_pri between", value1, value2, "buyFivePri");
            return (Criteria) this;
        }

        public Criteria andBuyFivePriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_five_pri not between", value1, value2, "buyFivePri");
            return (Criteria) this;
        }

        public Criteria andBuyFourIsNull() {
            addCriterion("buy_four is null");
            return (Criteria) this;
        }

        public Criteria andBuyFourIsNotNull() {
            addCriterion("buy_four is not null");
            return (Criteria) this;
        }

        public Criteria andBuyFourEqualTo(String value) {
            addCriterion("buy_four =", value, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourNotEqualTo(String value) {
            addCriterion("buy_four <>", value, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourGreaterThan(String value) {
            addCriterion("buy_four >", value, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourGreaterThanOrEqualTo(String value) {
            addCriterion("buy_four >=", value, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourLessThan(String value) {
            addCriterion("buy_four <", value, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourLessThanOrEqualTo(String value) {
            addCriterion("buy_four <=", value, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourLike(String value) {
            addCriterion("buy_four like", value, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourNotLike(String value) {
            addCriterion("buy_four not like", value, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourIn(List<String> values) {
            addCriterion("buy_four in", values, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourNotIn(List<String> values) {
            addCriterion("buy_four not in", values, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourBetween(String value1, String value2) {
            addCriterion("buy_four between", value1, value2, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourNotBetween(String value1, String value2) {
            addCriterion("buy_four not between", value1, value2, "buyFour");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriIsNull() {
            addCriterion("buy_four_pri is null");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriIsNotNull() {
            addCriterion("buy_four_pri is not null");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriEqualTo(BigDecimal value) {
            addCriterion("buy_four_pri =", value, "buyFourPri");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriNotEqualTo(BigDecimal value) {
            addCriterion("buy_four_pri <>", value, "buyFourPri");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriGreaterThan(BigDecimal value) {
            addCriterion("buy_four_pri >", value, "buyFourPri");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_four_pri >=", value, "buyFourPri");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriLessThan(BigDecimal value) {
            addCriterion("buy_four_pri <", value, "buyFourPri");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_four_pri <=", value, "buyFourPri");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriIn(List<BigDecimal> values) {
            addCriterion("buy_four_pri in", values, "buyFourPri");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriNotIn(List<BigDecimal> values) {
            addCriterion("buy_four_pri not in", values, "buyFourPri");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_four_pri between", value1, value2, "buyFourPri");
            return (Criteria) this;
        }

        public Criteria andBuyFourPriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_four_pri not between", value1, value2, "buyFourPri");
            return (Criteria) this;
        }

        public Criteria andBuyOneIsNull() {
            addCriterion("buy_one is null");
            return (Criteria) this;
        }

        public Criteria andBuyOneIsNotNull() {
            addCriterion("buy_one is not null");
            return (Criteria) this;
        }

        public Criteria andBuyOneEqualTo(String value) {
            addCriterion("buy_one =", value, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneNotEqualTo(String value) {
            addCriterion("buy_one <>", value, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneGreaterThan(String value) {
            addCriterion("buy_one >", value, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneGreaterThanOrEqualTo(String value) {
            addCriterion("buy_one >=", value, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneLessThan(String value) {
            addCriterion("buy_one <", value, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneLessThanOrEqualTo(String value) {
            addCriterion("buy_one <=", value, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneLike(String value) {
            addCriterion("buy_one like", value, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneNotLike(String value) {
            addCriterion("buy_one not like", value, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneIn(List<String> values) {
            addCriterion("buy_one in", values, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneNotIn(List<String> values) {
            addCriterion("buy_one not in", values, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneBetween(String value1, String value2) {
            addCriterion("buy_one between", value1, value2, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOneNotBetween(String value1, String value2) {
            addCriterion("buy_one not between", value1, value2, "buyOne");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriIsNull() {
            addCriterion("buy_one_pri is null");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriIsNotNull() {
            addCriterion("buy_one_pri is not null");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriEqualTo(BigDecimal value) {
            addCriterion("buy_one_pri =", value, "buyOnePri");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriNotEqualTo(BigDecimal value) {
            addCriterion("buy_one_pri <>", value, "buyOnePri");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriGreaterThan(BigDecimal value) {
            addCriterion("buy_one_pri >", value, "buyOnePri");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_one_pri >=", value, "buyOnePri");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriLessThan(BigDecimal value) {
            addCriterion("buy_one_pri <", value, "buyOnePri");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_one_pri <=", value, "buyOnePri");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriIn(List<BigDecimal> values) {
            addCriterion("buy_one_pri in", values, "buyOnePri");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriNotIn(List<BigDecimal> values) {
            addCriterion("buy_one_pri not in", values, "buyOnePri");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_one_pri between", value1, value2, "buyOnePri");
            return (Criteria) this;
        }

        public Criteria andBuyOnePriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_one_pri not between", value1, value2, "buyOnePri");
            return (Criteria) this;
        }

        public Criteria andBuyThreeIsNull() {
            addCriterion("buy_three is null");
            return (Criteria) this;
        }

        public Criteria andBuyThreeIsNotNull() {
            addCriterion("buy_three is not null");
            return (Criteria) this;
        }

        public Criteria andBuyThreeEqualTo(String value) {
            addCriterion("buy_three =", value, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeNotEqualTo(String value) {
            addCriterion("buy_three <>", value, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeGreaterThan(String value) {
            addCriterion("buy_three >", value, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeGreaterThanOrEqualTo(String value) {
            addCriterion("buy_three >=", value, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeLessThan(String value) {
            addCriterion("buy_three <", value, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeLessThanOrEqualTo(String value) {
            addCriterion("buy_three <=", value, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeLike(String value) {
            addCriterion("buy_three like", value, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeNotLike(String value) {
            addCriterion("buy_three not like", value, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeIn(List<String> values) {
            addCriterion("buy_three in", values, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeNotIn(List<String> values) {
            addCriterion("buy_three not in", values, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeBetween(String value1, String value2) {
            addCriterion("buy_three between", value1, value2, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreeNotBetween(String value1, String value2) {
            addCriterion("buy_three not between", value1, value2, "buyThree");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriIsNull() {
            addCriterion("buy_three_pri is null");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriIsNotNull() {
            addCriterion("buy_three_pri is not null");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriEqualTo(BigDecimal value) {
            addCriterion("buy_three_pri =", value, "buyThreePri");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriNotEqualTo(BigDecimal value) {
            addCriterion("buy_three_pri <>", value, "buyThreePri");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriGreaterThan(BigDecimal value) {
            addCriterion("buy_three_pri >", value, "buyThreePri");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_three_pri >=", value, "buyThreePri");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriLessThan(BigDecimal value) {
            addCriterion("buy_three_pri <", value, "buyThreePri");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_three_pri <=", value, "buyThreePri");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriIn(List<BigDecimal> values) {
            addCriterion("buy_three_pri in", values, "buyThreePri");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriNotIn(List<BigDecimal> values) {
            addCriterion("buy_three_pri not in", values, "buyThreePri");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_three_pri between", value1, value2, "buyThreePri");
            return (Criteria) this;
        }

        public Criteria andBuyThreePriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_three_pri not between", value1, value2, "buyThreePri");
            return (Criteria) this;
        }

        public Criteria andBuyTwoIsNull() {
            addCriterion("buy_two is null");
            return (Criteria) this;
        }

        public Criteria andBuyTwoIsNotNull() {
            addCriterion("buy_two is not null");
            return (Criteria) this;
        }

        public Criteria andBuyTwoEqualTo(String value) {
            addCriterion("buy_two =", value, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoNotEqualTo(String value) {
            addCriterion("buy_two <>", value, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoGreaterThan(String value) {
            addCriterion("buy_two >", value, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoGreaterThanOrEqualTo(String value) {
            addCriterion("buy_two >=", value, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoLessThan(String value) {
            addCriterion("buy_two <", value, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoLessThanOrEqualTo(String value) {
            addCriterion("buy_two <=", value, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoLike(String value) {
            addCriterion("buy_two like", value, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoNotLike(String value) {
            addCriterion("buy_two not like", value, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoIn(List<String> values) {
            addCriterion("buy_two in", values, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoNotIn(List<String> values) {
            addCriterion("buy_two not in", values, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoBetween(String value1, String value2) {
            addCriterion("buy_two between", value1, value2, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoNotBetween(String value1, String value2) {
            addCriterion("buy_two not between", value1, value2, "buyTwo");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriIsNull() {
            addCriterion("buy_two_pri is null");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriIsNotNull() {
            addCriterion("buy_two_pri is not null");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriEqualTo(BigDecimal value) {
            addCriterion("buy_two_pri =", value, "buyTwoPri");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriNotEqualTo(BigDecimal value) {
            addCriterion("buy_two_pri <>", value, "buyTwoPri");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriGreaterThan(BigDecimal value) {
            addCriterion("buy_two_pri >", value, "buyTwoPri");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_two_pri >=", value, "buyTwoPri");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriLessThan(BigDecimal value) {
            addCriterion("buy_two_pri <", value, "buyTwoPri");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("buy_two_pri <=", value, "buyTwoPri");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriIn(List<BigDecimal> values) {
            addCriterion("buy_two_pri in", values, "buyTwoPri");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriNotIn(List<BigDecimal> values) {
            addCriterion("buy_two_pri not in", values, "buyTwoPri");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_two_pri between", value1, value2, "buyTwoPri");
            return (Criteria) this;
        }

        public Criteria andBuyTwoPriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("buy_two_pri not between", value1, value2, "buyTwoPri");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriIsNull() {
            addCriterion("competitive_pri is null");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriIsNotNull() {
            addCriterion("competitive_pri is not null");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriEqualTo(BigDecimal value) {
            addCriterion("competitive_pri =", value, "competitivePri");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriNotEqualTo(BigDecimal value) {
            addCriterion("competitive_pri <>", value, "competitivePri");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriGreaterThan(BigDecimal value) {
            addCriterion("competitive_pri >", value, "competitivePri");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("competitive_pri >=", value, "competitivePri");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriLessThan(BigDecimal value) {
            addCriterion("competitive_pri <", value, "competitivePri");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("competitive_pri <=", value, "competitivePri");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriIn(List<BigDecimal> values) {
            addCriterion("competitive_pri in", values, "competitivePri");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriNotIn(List<BigDecimal> values) {
            addCriterion("competitive_pri not in", values, "competitivePri");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("competitive_pri between", value1, value2, "competitivePri");
            return (Criteria) this;
        }

        public Criteria andCompetitivePriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("competitive_pri not between", value1, value2, "competitivePri");
            return (Criteria) this;
        }

        public Criteria andDateIsNull() {
            addCriterion("`date` is null");
            return (Criteria) this;
        }

        public Criteria andDateIsNotNull() {
            addCriterion("`date` is not null");
            return (Criteria) this;
        }

        public Criteria andDateEqualTo(Date value) {
            addCriterionForJDBCDate("`date` =", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("`date` <>", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThan(Date value) {
            addCriterionForJDBCDate("`date` >", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("`date` >=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThan(Date value) {
            addCriterionForJDBCDate("`date` <", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("`date` <=", value, "date");
            return (Criteria) this;
        }

        public Criteria andDateIn(List<Date> values) {
            addCriterionForJDBCDate("`date` in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("`date` not in", values, "date");
            return (Criteria) this;
        }

        public Criteria andDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("`date` between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("`date` not between", value1, value2, "date");
            return (Criteria) this;
        }

        public Criteria andIncrePerIsNull() {
            addCriterion("incre_per is null");
            return (Criteria) this;
        }

        public Criteria andIncrePerIsNotNull() {
            addCriterion("incre_per is not null");
            return (Criteria) this;
        }

        public Criteria andIncrePerEqualTo(BigDecimal value) {
            addCriterion("incre_per =", value, "increPer");
            return (Criteria) this;
        }

        public Criteria andIncrePerNotEqualTo(BigDecimal value) {
            addCriterion("incre_per <>", value, "increPer");
            return (Criteria) this;
        }

        public Criteria andIncrePerGreaterThan(BigDecimal value) {
            addCriterion("incre_per >", value, "increPer");
            return (Criteria) this;
        }

        public Criteria andIncrePerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("incre_per >=", value, "increPer");
            return (Criteria) this;
        }

        public Criteria andIncrePerLessThan(BigDecimal value) {
            addCriterion("incre_per <", value, "increPer");
            return (Criteria) this;
        }

        public Criteria andIncrePerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("incre_per <=", value, "increPer");
            return (Criteria) this;
        }

        public Criteria andIncrePerIn(List<BigDecimal> values) {
            addCriterion("incre_per in", values, "increPer");
            return (Criteria) this;
        }

        public Criteria andIncrePerNotIn(List<BigDecimal> values) {
            addCriterion("incre_per not in", values, "increPer");
            return (Criteria) this;
        }

        public Criteria andIncrePerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("incre_per between", value1, value2, "increPer");
            return (Criteria) this;
        }

        public Criteria andIncrePerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("incre_per not between", value1, value2, "increPer");
            return (Criteria) this;
        }

        public Criteria andIncreaseIsNull() {
            addCriterion("increase is null");
            return (Criteria) this;
        }

        public Criteria andIncreaseIsNotNull() {
            addCriterion("increase is not null");
            return (Criteria) this;
        }

        public Criteria andIncreaseEqualTo(BigDecimal value) {
            addCriterion("increase =", value, "increase");
            return (Criteria) this;
        }

        public Criteria andIncreaseNotEqualTo(BigDecimal value) {
            addCriterion("increase <>", value, "increase");
            return (Criteria) this;
        }

        public Criteria andIncreaseGreaterThan(BigDecimal value) {
            addCriterion("increase >", value, "increase");
            return (Criteria) this;
        }

        public Criteria andIncreaseGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("increase >=", value, "increase");
            return (Criteria) this;
        }

        public Criteria andIncreaseLessThan(BigDecimal value) {
            addCriterion("increase <", value, "increase");
            return (Criteria) this;
        }

        public Criteria andIncreaseLessThanOrEqualTo(BigDecimal value) {
            addCriterion("increase <=", value, "increase");
            return (Criteria) this;
        }

        public Criteria andIncreaseIn(List<BigDecimal> values) {
            addCriterion("increase in", values, "increase");
            return (Criteria) this;
        }

        public Criteria andIncreaseNotIn(List<BigDecimal> values) {
            addCriterion("increase not in", values, "increase");
            return (Criteria) this;
        }

        public Criteria andIncreaseBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("increase between", value1, value2, "increase");
            return (Criteria) this;
        }

        public Criteria andIncreaseNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("increase not between", value1, value2, "increase");
            return (Criteria) this;
        }

        public Criteria andNowPriIsNull() {
            addCriterion("now_pri is null");
            return (Criteria) this;
        }

        public Criteria andNowPriIsNotNull() {
            addCriterion("now_pri is not null");
            return (Criteria) this;
        }

        public Criteria andNowPriEqualTo(BigDecimal value) {
            addCriterion("now_pri =", value, "nowPri");
            return (Criteria) this;
        }

        public Criteria andNowPriNotEqualTo(BigDecimal value) {
            addCriterion("now_pri <>", value, "nowPri");
            return (Criteria) this;
        }

        public Criteria andNowPriGreaterThan(BigDecimal value) {
            addCriterion("now_pri >", value, "nowPri");
            return (Criteria) this;
        }

        public Criteria andNowPriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("now_pri >=", value, "nowPri");
            return (Criteria) this;
        }

        public Criteria andNowPriLessThan(BigDecimal value) {
            addCriterion("now_pri <", value, "nowPri");
            return (Criteria) this;
        }

        public Criteria andNowPriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("now_pri <=", value, "nowPri");
            return (Criteria) this;
        }

        public Criteria andNowPriIn(List<BigDecimal> values) {
            addCriterion("now_pri in", values, "nowPri");
            return (Criteria) this;
        }

        public Criteria andNowPriNotIn(List<BigDecimal> values) {
            addCriterion("now_pri not in", values, "nowPri");
            return (Criteria) this;
        }

        public Criteria andNowPriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("now_pri between", value1, value2, "nowPri");
            return (Criteria) this;
        }

        public Criteria andNowPriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("now_pri not between", value1, value2, "nowPri");
            return (Criteria) this;
        }

        public Criteria andReservePriIsNull() {
            addCriterion("reserve_pri is null");
            return (Criteria) this;
        }

        public Criteria andReservePriIsNotNull() {
            addCriterion("reserve_pri is not null");
            return (Criteria) this;
        }

        public Criteria andReservePriEqualTo(BigDecimal value) {
            addCriterion("reserve_pri =", value, "reservePri");
            return (Criteria) this;
        }

        public Criteria andReservePriNotEqualTo(BigDecimal value) {
            addCriterion("reserve_pri <>", value, "reservePri");
            return (Criteria) this;
        }

        public Criteria andReservePriGreaterThan(BigDecimal value) {
            addCriterion("reserve_pri >", value, "reservePri");
            return (Criteria) this;
        }

        public Criteria andReservePriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("reserve_pri >=", value, "reservePri");
            return (Criteria) this;
        }

        public Criteria andReservePriLessThan(BigDecimal value) {
            addCriterion("reserve_pri <", value, "reservePri");
            return (Criteria) this;
        }

        public Criteria andReservePriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("reserve_pri <=", value, "reservePri");
            return (Criteria) this;
        }

        public Criteria andReservePriIn(List<BigDecimal> values) {
            addCriterion("reserve_pri in", values, "reservePri");
            return (Criteria) this;
        }

        public Criteria andReservePriNotIn(List<BigDecimal> values) {
            addCriterion("reserve_pri not in", values, "reservePri");
            return (Criteria) this;
        }

        public Criteria andReservePriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reserve_pri between", value1, value2, "reservePri");
            return (Criteria) this;
        }

        public Criteria andReservePriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reserve_pri not between", value1, value2, "reservePri");
            return (Criteria) this;
        }

        public Criteria andSellFiveIsNull() {
            addCriterion("sell_five is null");
            return (Criteria) this;
        }

        public Criteria andSellFiveIsNotNull() {
            addCriterion("sell_five is not null");
            return (Criteria) this;
        }

        public Criteria andSellFiveEqualTo(String value) {
            addCriterion("sell_five =", value, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveNotEqualTo(String value) {
            addCriterion("sell_five <>", value, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveGreaterThan(String value) {
            addCriterion("sell_five >", value, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveGreaterThanOrEqualTo(String value) {
            addCriterion("sell_five >=", value, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveLessThan(String value) {
            addCriterion("sell_five <", value, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveLessThanOrEqualTo(String value) {
            addCriterion("sell_five <=", value, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveLike(String value) {
            addCriterion("sell_five like", value, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveNotLike(String value) {
            addCriterion("sell_five not like", value, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveIn(List<String> values) {
            addCriterion("sell_five in", values, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveNotIn(List<String> values) {
            addCriterion("sell_five not in", values, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveBetween(String value1, String value2) {
            addCriterion("sell_five between", value1, value2, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFiveNotBetween(String value1, String value2) {
            addCriterion("sell_five not between", value1, value2, "sellFive");
            return (Criteria) this;
        }

        public Criteria andSellFivePriIsNull() {
            addCriterion("sell_five_pri is null");
            return (Criteria) this;
        }

        public Criteria andSellFivePriIsNotNull() {
            addCriterion("sell_five_pri is not null");
            return (Criteria) this;
        }

        public Criteria andSellFivePriEqualTo(BigDecimal value) {
            addCriterion("sell_five_pri =", value, "sellFivePri");
            return (Criteria) this;
        }

        public Criteria andSellFivePriNotEqualTo(BigDecimal value) {
            addCriterion("sell_five_pri <>", value, "sellFivePri");
            return (Criteria) this;
        }

        public Criteria andSellFivePriGreaterThan(BigDecimal value) {
            addCriterion("sell_five_pri >", value, "sellFivePri");
            return (Criteria) this;
        }

        public Criteria andSellFivePriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_five_pri >=", value, "sellFivePri");
            return (Criteria) this;
        }

        public Criteria andSellFivePriLessThan(BigDecimal value) {
            addCriterion("sell_five_pri <", value, "sellFivePri");
            return (Criteria) this;
        }

        public Criteria andSellFivePriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_five_pri <=", value, "sellFivePri");
            return (Criteria) this;
        }

        public Criteria andSellFivePriIn(List<BigDecimal> values) {
            addCriterion("sell_five_pri in", values, "sellFivePri");
            return (Criteria) this;
        }

        public Criteria andSellFivePriNotIn(List<BigDecimal> values) {
            addCriterion("sell_five_pri not in", values, "sellFivePri");
            return (Criteria) this;
        }

        public Criteria andSellFivePriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_five_pri between", value1, value2, "sellFivePri");
            return (Criteria) this;
        }

        public Criteria andSellFivePriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_five_pri not between", value1, value2, "sellFivePri");
            return (Criteria) this;
        }

        public Criteria andSellFourIsNull() {
            addCriterion("sell_four is null");
            return (Criteria) this;
        }

        public Criteria andSellFourIsNotNull() {
            addCriterion("sell_four is not null");
            return (Criteria) this;
        }

        public Criteria andSellFourEqualTo(String value) {
            addCriterion("sell_four =", value, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourNotEqualTo(String value) {
            addCriterion("sell_four <>", value, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourGreaterThan(String value) {
            addCriterion("sell_four >", value, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourGreaterThanOrEqualTo(String value) {
            addCriterion("sell_four >=", value, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourLessThan(String value) {
            addCriterion("sell_four <", value, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourLessThanOrEqualTo(String value) {
            addCriterion("sell_four <=", value, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourLike(String value) {
            addCriterion("sell_four like", value, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourNotLike(String value) {
            addCriterion("sell_four not like", value, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourIn(List<String> values) {
            addCriterion("sell_four in", values, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourNotIn(List<String> values) {
            addCriterion("sell_four not in", values, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourBetween(String value1, String value2) {
            addCriterion("sell_four between", value1, value2, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourNotBetween(String value1, String value2) {
            addCriterion("sell_four not between", value1, value2, "sellFour");
            return (Criteria) this;
        }

        public Criteria andSellFourPriIsNull() {
            addCriterion("sell_four_pri is null");
            return (Criteria) this;
        }

        public Criteria andSellFourPriIsNotNull() {
            addCriterion("sell_four_pri is not null");
            return (Criteria) this;
        }

        public Criteria andSellFourPriEqualTo(BigDecimal value) {
            addCriterion("sell_four_pri =", value, "sellFourPri");
            return (Criteria) this;
        }

        public Criteria andSellFourPriNotEqualTo(BigDecimal value) {
            addCriterion("sell_four_pri <>", value, "sellFourPri");
            return (Criteria) this;
        }

        public Criteria andSellFourPriGreaterThan(BigDecimal value) {
            addCriterion("sell_four_pri >", value, "sellFourPri");
            return (Criteria) this;
        }

        public Criteria andSellFourPriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_four_pri >=", value, "sellFourPri");
            return (Criteria) this;
        }

        public Criteria andSellFourPriLessThan(BigDecimal value) {
            addCriterion("sell_four_pri <", value, "sellFourPri");
            return (Criteria) this;
        }

        public Criteria andSellFourPriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_four_pri <=", value, "sellFourPri");
            return (Criteria) this;
        }

        public Criteria andSellFourPriIn(List<BigDecimal> values) {
            addCriterion("sell_four_pri in", values, "sellFourPri");
            return (Criteria) this;
        }

        public Criteria andSellFourPriNotIn(List<BigDecimal> values) {
            addCriterion("sell_four_pri not in", values, "sellFourPri");
            return (Criteria) this;
        }

        public Criteria andSellFourPriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_four_pri between", value1, value2, "sellFourPri");
            return (Criteria) this;
        }

        public Criteria andSellFourPriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_four_pri not between", value1, value2, "sellFourPri");
            return (Criteria) this;
        }

        public Criteria andSellOneIsNull() {
            addCriterion("sell_one is null");
            return (Criteria) this;
        }

        public Criteria andSellOneIsNotNull() {
            addCriterion("sell_one is not null");
            return (Criteria) this;
        }

        public Criteria andSellOneEqualTo(String value) {
            addCriterion("sell_one =", value, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneNotEqualTo(String value) {
            addCriterion("sell_one <>", value, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneGreaterThan(String value) {
            addCriterion("sell_one >", value, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneGreaterThanOrEqualTo(String value) {
            addCriterion("sell_one >=", value, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneLessThan(String value) {
            addCriterion("sell_one <", value, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneLessThanOrEqualTo(String value) {
            addCriterion("sell_one <=", value, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneLike(String value) {
            addCriterion("sell_one like", value, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneNotLike(String value) {
            addCriterion("sell_one not like", value, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneIn(List<String> values) {
            addCriterion("sell_one in", values, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneNotIn(List<String> values) {
            addCriterion("sell_one not in", values, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneBetween(String value1, String value2) {
            addCriterion("sell_one between", value1, value2, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOneNotBetween(String value1, String value2) {
            addCriterion("sell_one not between", value1, value2, "sellOne");
            return (Criteria) this;
        }

        public Criteria andSellOnePriIsNull() {
            addCriterion("sell_one_pri is null");
            return (Criteria) this;
        }

        public Criteria andSellOnePriIsNotNull() {
            addCriterion("sell_one_pri is not null");
            return (Criteria) this;
        }

        public Criteria andSellOnePriEqualTo(String value) {
            addCriterion("sell_one_pri =", value, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriNotEqualTo(String value) {
            addCriterion("sell_one_pri <>", value, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriGreaterThan(String value) {
            addCriterion("sell_one_pri >", value, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriGreaterThanOrEqualTo(String value) {
            addCriterion("sell_one_pri >=", value, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriLessThan(String value) {
            addCriterion("sell_one_pri <", value, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriLessThanOrEqualTo(String value) {
            addCriterion("sell_one_pri <=", value, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriLike(String value) {
            addCriterion("sell_one_pri like", value, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriNotLike(String value) {
            addCriterion("sell_one_pri not like", value, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriIn(List<String> values) {
            addCriterion("sell_one_pri in", values, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriNotIn(List<String> values) {
            addCriterion("sell_one_pri not in", values, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriBetween(String value1, String value2) {
            addCriterion("sell_one_pri between", value1, value2, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellOnePriNotBetween(String value1, String value2) {
            addCriterion("sell_one_pri not between", value1, value2, "sellOnePri");
            return (Criteria) this;
        }

        public Criteria andSellThreeIsNull() {
            addCriterion("sell_three is null");
            return (Criteria) this;
        }

        public Criteria andSellThreeIsNotNull() {
            addCriterion("sell_three is not null");
            return (Criteria) this;
        }

        public Criteria andSellThreeEqualTo(String value) {
            addCriterion("sell_three =", value, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeNotEqualTo(String value) {
            addCriterion("sell_three <>", value, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeGreaterThan(String value) {
            addCriterion("sell_three >", value, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeGreaterThanOrEqualTo(String value) {
            addCriterion("sell_three >=", value, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeLessThan(String value) {
            addCriterion("sell_three <", value, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeLessThanOrEqualTo(String value) {
            addCriterion("sell_three <=", value, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeLike(String value) {
            addCriterion("sell_three like", value, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeNotLike(String value) {
            addCriterion("sell_three not like", value, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeIn(List<String> values) {
            addCriterion("sell_three in", values, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeNotIn(List<String> values) {
            addCriterion("sell_three not in", values, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeBetween(String value1, String value2) {
            addCriterion("sell_three between", value1, value2, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreeNotBetween(String value1, String value2) {
            addCriterion("sell_three not between", value1, value2, "sellThree");
            return (Criteria) this;
        }

        public Criteria andSellThreePriIsNull() {
            addCriterion("sell_three_pri is null");
            return (Criteria) this;
        }

        public Criteria andSellThreePriIsNotNull() {
            addCriterion("sell_three_pri is not null");
            return (Criteria) this;
        }

        public Criteria andSellThreePriEqualTo(BigDecimal value) {
            addCriterion("sell_three_pri =", value, "sellThreePri");
            return (Criteria) this;
        }

        public Criteria andSellThreePriNotEqualTo(BigDecimal value) {
            addCriterion("sell_three_pri <>", value, "sellThreePri");
            return (Criteria) this;
        }

        public Criteria andSellThreePriGreaterThan(BigDecimal value) {
            addCriterion("sell_three_pri >", value, "sellThreePri");
            return (Criteria) this;
        }

        public Criteria andSellThreePriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_three_pri >=", value, "sellThreePri");
            return (Criteria) this;
        }

        public Criteria andSellThreePriLessThan(BigDecimal value) {
            addCriterion("sell_three_pri <", value, "sellThreePri");
            return (Criteria) this;
        }

        public Criteria andSellThreePriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_three_pri <=", value, "sellThreePri");
            return (Criteria) this;
        }

        public Criteria andSellThreePriIn(List<BigDecimal> values) {
            addCriterion("sell_three_pri in", values, "sellThreePri");
            return (Criteria) this;
        }

        public Criteria andSellThreePriNotIn(List<BigDecimal> values) {
            addCriterion("sell_three_pri not in", values, "sellThreePri");
            return (Criteria) this;
        }

        public Criteria andSellThreePriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_three_pri between", value1, value2, "sellThreePri");
            return (Criteria) this;
        }

        public Criteria andSellThreePriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_three_pri not between", value1, value2, "sellThreePri");
            return (Criteria) this;
        }

        public Criteria andSellTwoIsNull() {
            addCriterion("sell_two is null");
            return (Criteria) this;
        }

        public Criteria andSellTwoIsNotNull() {
            addCriterion("sell_two is not null");
            return (Criteria) this;
        }

        public Criteria andSellTwoEqualTo(String value) {
            addCriterion("sell_two =", value, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoNotEqualTo(String value) {
            addCriterion("sell_two <>", value, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoGreaterThan(String value) {
            addCriterion("sell_two >", value, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoGreaterThanOrEqualTo(String value) {
            addCriterion("sell_two >=", value, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoLessThan(String value) {
            addCriterion("sell_two <", value, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoLessThanOrEqualTo(String value) {
            addCriterion("sell_two <=", value, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoLike(String value) {
            addCriterion("sell_two like", value, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoNotLike(String value) {
            addCriterion("sell_two not like", value, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoIn(List<String> values) {
            addCriterion("sell_two in", values, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoNotIn(List<String> values) {
            addCriterion("sell_two not in", values, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoBetween(String value1, String value2) {
            addCriterion("sell_two between", value1, value2, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoNotBetween(String value1, String value2) {
            addCriterion("sell_two not between", value1, value2, "sellTwo");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriIsNull() {
            addCriterion("sell_two_pri is null");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriIsNotNull() {
            addCriterion("sell_two_pri is not null");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriEqualTo(BigDecimal value) {
            addCriterion("sell_two_pri =", value, "sellTwoPri");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriNotEqualTo(BigDecimal value) {
            addCriterion("sell_two_pri <>", value, "sellTwoPri");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriGreaterThan(BigDecimal value) {
            addCriterion("sell_two_pri >", value, "sellTwoPri");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_two_pri >=", value, "sellTwoPri");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriLessThan(BigDecimal value) {
            addCriterion("sell_two_pri <", value, "sellTwoPri");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sell_two_pri <=", value, "sellTwoPri");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriIn(List<BigDecimal> values) {
            addCriterion("sell_two_pri in", values, "sellTwoPri");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriNotIn(List<BigDecimal> values) {
            addCriterion("sell_two_pri not in", values, "sellTwoPri");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_two_pri between", value1, value2, "sellTwoPri");
            return (Criteria) this;
        }

        public Criteria andSellTwoPriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sell_two_pri not between", value1, value2, "sellTwoPri");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("`time` is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("`time` is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Date value) {
            addCriterionForJDBCTime("`time` =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Date value) {
            addCriterionForJDBCTime("`time` <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Date value) {
            addCriterionForJDBCTime("`time` >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("`time` >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Date value) {
            addCriterionForJDBCTime("`time` <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("`time` <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Date> values) {
            addCriterionForJDBCTime("`time` in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Date> values) {
            addCriterionForJDBCTime("`time` not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("`time` between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("`time` not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTodayMaxIsNull() {
            addCriterion("today_max is null");
            return (Criteria) this;
        }

        public Criteria andTodayMaxIsNotNull() {
            addCriterion("today_max is not null");
            return (Criteria) this;
        }

        public Criteria andTodayMaxEqualTo(BigDecimal value) {
            addCriterion("today_max =", value, "todayMax");
            return (Criteria) this;
        }

        public Criteria andTodayMaxNotEqualTo(BigDecimal value) {
            addCriterion("today_max <>", value, "todayMax");
            return (Criteria) this;
        }

        public Criteria andTodayMaxGreaterThan(BigDecimal value) {
            addCriterion("today_max >", value, "todayMax");
            return (Criteria) this;
        }

        public Criteria andTodayMaxGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("today_max >=", value, "todayMax");
            return (Criteria) this;
        }

        public Criteria andTodayMaxLessThan(BigDecimal value) {
            addCriterion("today_max <", value, "todayMax");
            return (Criteria) this;
        }

        public Criteria andTodayMaxLessThanOrEqualTo(BigDecimal value) {
            addCriterion("today_max <=", value, "todayMax");
            return (Criteria) this;
        }

        public Criteria andTodayMaxIn(List<BigDecimal> values) {
            addCriterion("today_max in", values, "todayMax");
            return (Criteria) this;
        }

        public Criteria andTodayMaxNotIn(List<BigDecimal> values) {
            addCriterion("today_max not in", values, "todayMax");
            return (Criteria) this;
        }

        public Criteria andTodayMaxBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("today_max between", value1, value2, "todayMax");
            return (Criteria) this;
        }

        public Criteria andTodayMaxNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("today_max not between", value1, value2, "todayMax");
            return (Criteria) this;
        }

        public Criteria andTodayMinIsNull() {
            addCriterion("today_min is null");
            return (Criteria) this;
        }

        public Criteria andTodayMinIsNotNull() {
            addCriterion("today_min is not null");
            return (Criteria) this;
        }

        public Criteria andTodayMinEqualTo(BigDecimal value) {
            addCriterion("today_min =", value, "todayMin");
            return (Criteria) this;
        }

        public Criteria andTodayMinNotEqualTo(BigDecimal value) {
            addCriterion("today_min <>", value, "todayMin");
            return (Criteria) this;
        }

        public Criteria andTodayMinGreaterThan(BigDecimal value) {
            addCriterion("today_min >", value, "todayMin");
            return (Criteria) this;
        }

        public Criteria andTodayMinGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("today_min >=", value, "todayMin");
            return (Criteria) this;
        }

        public Criteria andTodayMinLessThan(BigDecimal value) {
            addCriterion("today_min <", value, "todayMin");
            return (Criteria) this;
        }

        public Criteria andTodayMinLessThanOrEqualTo(BigDecimal value) {
            addCriterion("today_min <=", value, "todayMin");
            return (Criteria) this;
        }

        public Criteria andTodayMinIn(List<BigDecimal> values) {
            addCriterion("today_min in", values, "todayMin");
            return (Criteria) this;
        }

        public Criteria andTodayMinNotIn(List<BigDecimal> values) {
            addCriterion("today_min not in", values, "todayMin");
            return (Criteria) this;
        }

        public Criteria andTodayMinBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("today_min between", value1, value2, "todayMin");
            return (Criteria) this;
        }

        public Criteria andTodayMinNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("today_min not between", value1, value2, "todayMin");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriIsNull() {
            addCriterion("today_start_pri is null");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriIsNotNull() {
            addCriterion("today_start_pri is not null");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriEqualTo(BigDecimal value) {
            addCriterion("today_start_pri =", value, "todayStartPri");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriNotEqualTo(BigDecimal value) {
            addCriterion("today_start_pri <>", value, "todayStartPri");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriGreaterThan(BigDecimal value) {
            addCriterion("today_start_pri >", value, "todayStartPri");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("today_start_pri >=", value, "todayStartPri");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriLessThan(BigDecimal value) {
            addCriterion("today_start_pri <", value, "todayStartPri");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriLessThanOrEqualTo(BigDecimal value) {
            addCriterion("today_start_pri <=", value, "todayStartPri");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriIn(List<BigDecimal> values) {
            addCriterion("today_start_pri in", values, "todayStartPri");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriNotIn(List<BigDecimal> values) {
            addCriterion("today_start_pri not in", values, "todayStartPri");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("today_start_pri between", value1, value2, "todayStartPri");
            return (Criteria) this;
        }

        public Criteria andTodayStartPriNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("today_start_pri not between", value1, value2, "todayStartPri");
            return (Criteria) this;
        }

        public Criteria andTraAmountIsNull() {
            addCriterion("tra_amount is null");
            return (Criteria) this;
        }

        public Criteria andTraAmountIsNotNull() {
            addCriterion("tra_amount is not null");
            return (Criteria) this;
        }

        public Criteria andTraAmountEqualTo(String value) {
            addCriterion("tra_amount =", value, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountNotEqualTo(String value) {
            addCriterion("tra_amount <>", value, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountGreaterThan(String value) {
            addCriterion("tra_amount >", value, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountGreaterThanOrEqualTo(String value) {
            addCriterion("tra_amount >=", value, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountLessThan(String value) {
            addCriterion("tra_amount <", value, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountLessThanOrEqualTo(String value) {
            addCriterion("tra_amount <=", value, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountLike(String value) {
            addCriterion("tra_amount like", value, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountNotLike(String value) {
            addCriterion("tra_amount not like", value, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountIn(List<String> values) {
            addCriterion("tra_amount in", values, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountNotIn(List<String> values) {
            addCriterion("tra_amount not in", values, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountBetween(String value1, String value2) {
            addCriterion("tra_amount between", value1, value2, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraAmountNotBetween(String value1, String value2) {
            addCriterion("tra_amount not between", value1, value2, "traAmount");
            return (Criteria) this;
        }

        public Criteria andTraNumberIsNull() {
            addCriterion("tra_number is null");
            return (Criteria) this;
        }

        public Criteria andTraNumberIsNotNull() {
            addCriterion("tra_number is not null");
            return (Criteria) this;
        }

        public Criteria andTraNumberEqualTo(String value) {
            addCriterion("tra_number =", value, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberNotEqualTo(String value) {
            addCriterion("tra_number <>", value, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberGreaterThan(String value) {
            addCriterion("tra_number >", value, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberGreaterThanOrEqualTo(String value) {
            addCriterion("tra_number >=", value, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberLessThan(String value) {
            addCriterion("tra_number <", value, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberLessThanOrEqualTo(String value) {
            addCriterion("tra_number <=", value, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberLike(String value) {
            addCriterion("tra_number like", value, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberNotLike(String value) {
            addCriterion("tra_number not like", value, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberIn(List<String> values) {
            addCriterion("tra_number in", values, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberNotIn(List<String> values) {
            addCriterion("tra_number not in", values, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberBetween(String value1, String value2) {
            addCriterion("tra_number between", value1, value2, "traNumber");
            return (Criteria) this;
        }

        public Criteria andTraNumberNotBetween(String value1, String value2) {
            addCriterion("tra_number not between", value1, value2, "traNumber");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriIsNull() {
            addCriterion("yestod_end_pri is null");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriIsNotNull() {
            addCriterion("yestod_end_pri is not null");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriEqualTo(String value) {
            addCriterion("yestod_end_pri =", value, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriNotEqualTo(String value) {
            addCriterion("yestod_end_pri <>", value, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriGreaterThan(String value) {
            addCriterion("yestod_end_pri >", value, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriGreaterThanOrEqualTo(String value) {
            addCriterion("yestod_end_pri >=", value, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriLessThan(String value) {
            addCriterion("yestod_end_pri <", value, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriLessThanOrEqualTo(String value) {
            addCriterion("yestod_end_pri <=", value, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriLike(String value) {
            addCriterion("yestod_end_pri like", value, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriNotLike(String value) {
            addCriterion("yestod_end_pri not like", value, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriIn(List<String> values) {
            addCriterion("yestod_end_pri in", values, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriNotIn(List<String> values) {
            addCriterion("yestod_end_pri not in", values, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriBetween(String value1, String value2) {
            addCriterion("yestod_end_pri between", value1, value2, "yestodEndPri");
            return (Criteria) this;
        }

        public Criteria andYestodEndPriNotBetween(String value1, String value2) {
            addCriterion("yestod_end_pri not between", value1, value2, "yestodEndPri");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}